﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace com.huigo.Framework.BLL
{
    public class AlipayReturn
    {
        public static bool InsertAlipayReturn(string returnIsSuc, string returnBuyerEmail, string returnBuyerId, string returnSellerEmail, string returnSellerId, string returnOutPayNo, decimal returnAmount, DateTime returnCreateTime, DateTime returnPayTime, string returnPayNo, string returnTradeStatus, string returnParams, decimal returnRefundFee, string returnRefundId, DateTime returnRefundTime, string returnRefundStatus)
        {

            Model.AlipayReturn alipayReturn = new Model.AlipayReturn();
            alipayReturn.ReturnIsSuc = returnIsSuc;
            alipayReturn.ReturnBuyerEmail = returnBuyerEmail;
            alipayReturn.ReturnBuyerId = returnBuyerId;
            alipayReturn.ReturnSellerEmail = returnSellerEmail;
            alipayReturn.ReturnSellerId = returnSellerId;
            alipayReturn.ReturnOutPayNo = returnOutPayNo;
            alipayReturn.ReturnAmount = returnAmount;
            alipayReturn.ReturnCreateTime = returnCreateTime;
            alipayReturn.ReturnPayTime = returnPayTime;
            alipayReturn.ReturnPayNo = returnPayNo;
            alipayReturn.ReturnTradeStatus = returnTradeStatus;
            alipayReturn.ReturnParams = returnParams;
            alipayReturn.ReturnRefundFee = returnRefundFee;
            alipayReturn.ReturnRefundId = returnRefundId;
            alipayReturn.ReturnRefundTime = returnRefundTime;
            alipayReturn.ReturnRefundStatus = returnRefundStatus;
            return SqlServerDal.AlipayReturn.Insert(alipayReturn, null);
        }
    }
}
